package views
{
	import flash.events.Event;
	
	public class ViewEvent extends Event
	{
		public static const CHANGE_VIEW:String = "changeview";
		
		public var nextView:String;
		
		public var score:int = 0;
		
		public function ViewEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event
		{
			var e:ViewEvent = new ViewEvent(type, bubbles, cancelable);
			e.nextView = nextView;
			e.score = score;
			return e;
		}
		
	}
}